Skip to content

feat: add env-var config overrides#13

Merged
guenhter merged 1 commit intomainfrom
support-env-config
Feb 10, 2026
Merged

feat: add env-var config overrides#13
guenhter merged 1 commit intomainfrom
support-env-config

Conversation

@guenhter
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for overriding config.yaml values via environment variables, and documents + tests the behavior.

Changes:

  • Apply LLMOCK_-prefixed environment variable overrides when loading YAML config.
  • Add comprehensive pytest coverage for scalar, list, and nested override behaviors.
  • Document environment override usage in the README and strengthen agent testing guidance.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/llmock/config.py Loads YAML then applies recursive env-var overrides with LLMOCK_ prefix.
tests/test_config.py New tests covering config loading and env override behavior (scalar/list/nested/integration).
README.md Adds documentation for environment variable overrides.
AGENTS.md Tightens mandatory guidance around test-driven completion.
.agents/skills/pytest/SKILL.md Adds a pytest skill reference describing repo test conventions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@guenhter guenhter merged commit 41c3a13 into main Feb 10, 2026
2 checks passed
@guenhter guenhter deleted the support-env-config branch February 10, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants